package com.viser.partyinrs.entities;

import java.io.Serializable;

public class Mesto implements Serializable, Comparable<Mesto> {
	private static final long serialVersionUID = 1000004L;
	
	public int idMesto = 0;
	public int idGrad = 0;
	public String naziv = "";
	public String adresa = "";
	public String sajt = "";
	public String email = "";
	public String telefon = "";
	public String urlLogo = "";
	public String menadzer = "";
	public float geoX = 0;
	public float geoY = 0;
	public String muzika="";
	public String radi_od ="";
	public String radi_do = "";
	
	public Mesto()
	{
		super();
	}

	public Mesto(int idMesto, int idGrad, String naziv, String adresa, String sajt, String email, String telefon, String urlLogo, String menadzer, float geoX, float geoY)
	{
		super();
		this.idMesto = idMesto;
		this.idGrad = idGrad;
		this.naziv = naziv;
		this.adresa = adresa;
		this.sajt = sajt;
		this.email = email;
		this.telefon = telefon;
		this.urlLogo = urlLogo;
		this.menadzer = menadzer;
		this.geoX = geoX;
		this.geoY = geoY;
	}
	
	public int compareTo(Mesto drugi) {
		return this.naziv.compareTo(drugi.naziv);
	}
	
}
